//
//  NBJViewController.m
//  nbj
//
//  Created by Francois Proulx on 09-10-03.
//  Copyright 2009 Toujours Saoul. All rights reserved.
//

#import "NBJViewController.h"
#import "Reachability.h"

@implementation NBJViewController

@synthesize mainManagedObjectContext;

- (void) dealloc 
{
	self.mainManagedObjectContext = nil;
    [super dealloc];
}

#pragma mark -
#pragma mark Network Reachability

- (BOOL) internetConnectionAvailable
{
	NetworkStatus status = [[Reachability reachabilityForInternetConnection] currentReachabilityStatus];
	return status != NotReachable;
}

@end
